﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Fake_Shop_WebApi.Dtos
{
    public class RegisterDto
    {
        [Required]
        public string Email { get; set; }
        [Required]
        public string PassWord { get; set; }
        [Required]
        [Compare(nameof(PassWord),ErrorMessage = "两次输入的密码不一致")]
        public string ConfimPassWord { get; set; }
    }
}
